package com.ihr360.oneclick.service;


import com.ihr360.oneclick.entity.SpreadsheetRow;
import com.ihr360.oneclick.request.SearchRequest;
import com.ihr360.oneclick.request.query.SpreadSheetRowQueryParam;
import com.ihr360.oneclick.vo.PageData;
import com.ihr360.oneclick.vo.SpreadsheetRowVo;

import java.util.List;

/**
 * @author tom
 */
public interface SpreadsheetTempRowService {


    /**
     * 获取电子表格行数据的分页数据
     *
     * @param companyId 公司Id
     * @param spreadsheetId SpreadsheetDto.id
     * @param searchRequest 查询请求参数
     * @return SpreadsheetRowPageData
     */
    PageData<SpreadsheetRowVo> getSpreadsheetRowPageData(String companyId, String spreadsheetId, SearchRequest<SpreadSheetRowQueryParam> searchRequest);

    List<SpreadsheetRow> getSpreadsheetRowBySpreadsheetId(String spreadsheetId);


}